package com.qf.spring2202.springmybatis.service;

import com.qf.spring2202.springmybatis.entity.User;

import java.sql.SQLException;

public interface UserService {
    public User getUser(Integer id);

    public Integer createUser(User user);


    public void sleep();


    public void testExRollback(User user) throws SQLException;
}